package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 订单存取明细
 * </p>
 *
 * @author ms
 * @since 2023-07-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_SLIP_DETAIL")
@ApiModel(value="PcSlipDetail对象", description="订单存取明细")
public class PcSlipDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "仓库号（其他材料：X1）")
    private String stockNo;

    @ApiModelProperty(value = "入库单号")
    private String slipNo;

    @ApiModelProperty(value = "材料ID")
    private String mtlNo;

    @ApiModelProperty(value = "材料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "材料名称")
    private String mtlName;

    @ApiModelProperty(value = "材料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "材料单位")
    private String mtlUnit;

    @ApiModelProperty(value = "数量")
    private BigDecimal qty;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "组内编号")
    private Integer item;

    @ApiModelProperty(value = "入库日期（LDT）")
    private LocalDateTime slipDate;

    @ApiModelProperty(value = "部门ID")
    private String deptNo;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "出入库类型（I/O）")
    private String slipType;

    @ApiModelProperty(value = "出入库原因")
    private String slipReason;

    @ApiModelProperty(value = "创建时间（LD）")
    private LocalDateTime sysDate;

    @ApiModelProperty(value = "创建人")
    private String sysUser;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    @ApiModelProperty(value = "总价（前段传入）")
    private BigDecimal amt;

    private String cfmFlag;

    private LocalDateTime cfmDate;

    private String cfmUser;

    private String financeMemo;

    private String financeYymm;

}
